package com.tianji.coupon.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.common.Result;
import com.tianji.coupon.pojo.Coupon;
import com.tianji.coupon.pojo.ExchangeCode;
import com.tianji.coupon.query.CouponQuery;

/**
 * <p>
 * 兑换码 服务类
 * </p>
 *
 * @author 陈佳
 * @since 2024-08-29
 */
public interface ExchangeCodeService extends IService<ExchangeCode> {

    void asycGenerateCode(Coupon coupon);

    Result queryCouponByPage(CouponQuery query);

    boolean updateExchangeMark(long serialNum, boolean b);

}
